package com.aracky.assess.model.entity;

import com.aracky.common.entitybase.BaseCommonEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 用户绩效考核明细
 * </p>
 *
 * @author zzp
 * @since 2022-08-01 09:48:11
 */
@Getter
@Setter
@TableName("hr_kpi_user_performance_detail")
@ApiModel(value = "HrKpiUserPerformanceDetail对象", description = "用户绩效考核明细")
public class HrKpiUserPerformanceDetail extends BaseCommonEntity {

    @ApiModelProperty("配置ID")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户ID")
    @TableField("h_id")
    private Long hId;

    @ApiModelProperty("考核指标")
    @TableField("performance_index")
    private String performanceIndex;

    @ApiModelProperty("考核标准")
    @TableField("performance_standard")
    private String performanceStandard;

    @ApiModelProperty("指标占比")
    @TableField("performance_percent")
    private String performancePercent;

    @ApiModelProperty("评分标准")
    @TableField("assessment_standard")
    private String assessmentStandard;

    @ApiModelProperty("数据来源/计算方式")
    @TableField("assessment_datasource")
    private String assessmentDatasource;

    @ApiModelProperty("个人反馈实际完成情况")
    @TableField("self_remark")
    private String selfRemark;

    @ApiModelProperty("第一评分结果")
    @TableField("assessor1_result")
    private BigDecimal assessor1Result;

    @ApiModelProperty("第一评分评语")
    @TableField("assessor1_remark")
    private String assessor1Remark;

    @ApiModelProperty("第二评分结果")
    @TableField("assessor2_result")
    private BigDecimal assessor2Result;

    @ApiModelProperty("第二评分评语")
    @TableField("assessor2_remark")
    private String assessor2Remark;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    @TableField("del_flag")
    @TableLogic(delval = "2",value = "0")
    private String delFlag;


}
